// ActionScript file
package gallery.asset.event {
	import flash.events.Event;
	
	public class EventHandler extends Event {
		
		public static const FETCH_OBJECT:String = 'FETCHOBJECT';
		
		public var data:Object;
		
		public function EventHandler(type:String, data:Object, bubbles:Boolean=false, cancelable:Boolean=false) {
			super(type, bubbles, cancelable);
			this.data = data;
		}
		
		override public function clone():Event {
			return new EventHandler(type, data, bubbles, cancelable);
		}
	}
	
}
